package com.pzsh.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class EOLINKERConstants {

    //RD系统域名
    public static String DOMAIN_URL;
    //创建用户
    public static final String USER_ADD = "/user/add";
    //用户推荐上级
    public static final String USER_RECOMMEND = "/user/recommend";
    //我的粉丝
    public static final String USER_FRIENDS = "/user/friends";
    //钱包提现
    public static final String WALLET_CASH = "/wallet/cash";
    //钱包明细
    public static final String WALLET_LISTS = "/wallet/lists";
    //收益列表
    public static final String REWARD_LISTS = "/reward/lists";
    //创建订单
    public static final String ORDER_ADD = "/order/add";
    //获取会员信息
    public static final String USER_INFO = "/user/info";
    //钱包修改
    public static final String WALLET_CHANGE = "/wallet/change";
    //我的会员人数
    public static final String USER_NUMBER = "/user/number";

    public static String getDomainUrl() {
        return DOMAIN_URL;
    }

    @Value("${rd.domainUrl}")
    public void setDomainUrl(String domainUrl) {
        DOMAIN_URL = domainUrl;
    }
}
